<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>

    <input type="text" onClick="WdatePicker()">

    <hr>

    Start: <input id="start" type="text">
    End: <input id="end" type="text">

    <hr>

    <input id="d4311" class="Wdate" type="text" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'d4312\')||\'2020-10-01\'}'})"/>
    
	<input id="d4312" class="Wdate" type="text" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'d4311\')}'})"/>


    <script src="datepicker/WdatePicker.js"></script>
</body>
</html>
